<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title><?{$pageTitle}?></title>
	<meta name="author" content="九九" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />	
    <link href="__PUBLIC__/default/admin/css/skin.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/default/admin/css/comm.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17" valign="top" background="__PUBLIC__/default/admin/images/mail_leftbg.gif"><img src="__PUBLIC__/default/admin/images/left-top-right.gif" width="17" height="29" /></td>
        <td valign="top" background="__PUBLIC__/default/admin/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
          <tr>
            <td height="31">
                <div class="titlebt">{$modelTitle}列表
                    <div class="jsOP">
                        <a href="javascript:window.location.reload();" class="refresh">刷新</a>
                        <a href="javascript:history.back();" class="goBack">后退</a>
                        <a href="javascript:history.go(1);" class="goNext">前进</a>
                        <a href="__APP__" class="goIndex" target="_blank">返回主页</a>
                    </div>
                </div>
            </td>
          </tr>
        </table></td>
        <td width="16" valign="top" background="__PUBLIC__/default/admin/images/mail_rightbg.gif"><img src="__PUBLIC__/default/admin/images/nav-right-bg.gif" width="16" height="29" /></td>
      </tr>
      <tr>
        <td valign="middle" background="__PUBLIC__/default/admin/images/mail_leftbg.gif">&nbsp;</td>
        <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td colspan="4" valign="top">
                <div id="searchArea" class="searchArea">
                    <form action="__URL__/search/om/{$modelName}" name="search_form" id="search_form_id" method="GET"> 
                        <div class="searchChoise">
                            搜索内容：
                            按名称：<input type="text" name="keywords" id="keywords_id" value=""  class="searchText"/><sub >(/ID精确搜)</sub>
                             <input type="submit" id="search_id" value="开始查找" />
                         </div>
                        <a href="__URL__/info/om/<?php echo $modelName; ?>/type/{$modelTypeId}" class="addInfo" target="_self">添加新成员</a>
                        <a href="__URL__/xml/om/<?php echo $modelName;?>/type/{$modelTypeId}" class="syncInfo" target="_self">数据同步</a>
                    </form>
                </div>
            </td>
          </tr>
          <tr>
            <td colspan="4" valign="top">
            <form name="opForm" id="quick_op_form_id" action="__URL__/quick/om/{$modelName}" method="POST">
                {__TOKEN__}
                <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="line_table">
                  <tr class="tableRowBg">
                    <td width="10%">选择</td>
                    <td width="10%">ID</td>
                    <td width="10%">排序</td>
                    <td width="30%">名称</td>
                    <td width="20%">编辑时间</td>
                    <td width="10%">操作</td>
                  </tr>
                  <?php if(empty($recordList)){ ?>
                  <tr class="tableRowBg">
                    <td colspan='6'>暂无记录！</td>
                  </tr>
                  <?php } ?>
                  <?php foreach($recordList as $record) { ?>
                  <tr class="resultList">
                    <td class="op">
                        <input type="checkbox" name="check_item[]" value="<?php echo $record[$modelName . '_id']; ?>" class="checkbox"/>
                    </td>
                    <td ><?php echo $record[$modelName . '_id']; ?></td>
                    <td ><?php echo $record['sort_loc']; ?></td>
                    <td ><?php echo $record[$modelName . '_name']; ?></td>
                    <td ><?php echo date('Y-m-d H:m:s', $record['edit_time']); ?></td>
                    <td class="op">
                    <a href="__URL__/info/om/{$modelName}/id/<?php echo $record[$modelName
                    . '_id'];?>">查看</a>
                    ｜
                    <a href="__URL__/delete/om/{$modelName}/id/<?php echo $record[$modelName . '_id']; ?>" id="delete_item_id">删除</a></td>
                  </tr>
                  <?php } ?>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0" class="commOP_table">
                    <tr>
                    <td height="3" align="left">
                        <div id="page">
                            &nbsp;&nbsp;
                            {$pageHtml}
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            页码: <input type="text" name="page" id="jump_page_id" size="3" value="1"/> 
                            <input type="button" class="btn" value="跳转"
                            onclick="location.href='{$nowUrl}'+document.getElementById('jump_page_id').value" />
                        </div>
                    </td>
                    <td height="3" align="right">
                        [<a href="javascript:void(0);" id="select_all_id">全选</a>]
                        [<a href="javascript:void(0);" id="reset_all_id">取消</a>]

                        操作：<select name="method" id="quick_method_id" class="searchText">
                            <option value="">选择操作</option>
                            <option value="del">删除</option>
                        </select>
                        <input type="submit" id="btn_exec_id" value="执行" />
                        <input type="reset" id="btn_reset_id" value="重置" />
                    </td>
                  </tr>       
                </table>
             </form>
            </td>
          </tr>
          <tr>
            <td width="2%">&nbsp;</td>
            <td width="51%" class="left_txt">&nbsp;</td>
            <td width="7%">&nbsp;</td>
            <td width="40%">&nbsp;</td>
          </tr>
        </table></td>
        <td background="__PUBLIC__/default/admin/images/mail_rightbg.gif">&nbsp;</td>
      </tr>
      <tr>
        <td valign="bottom" background="__PUBLIC__/default/admin/images/mail_leftbg.gif"><img src="__PUBLIC__/default/admin/images/buttom_left2.gif" width="17" height="17" /></td>
        <td background="__PUBLIC__/default/admin/images/buttom_bgs.gif"><img src="__PUBLIC__/default/admin/images/buttom_bgs.gif" width="17" height="17"></td>
        <td valign="bottom" background="__PUBLIC__/default/admin/images/mail_rightbg.gif"><img src="__PUBLIC__/default/admin/images/buttom_right2.gif" width="16" height="17" /></td>
      </tr>
    </table>
    <script src="__PUBLIC__/default/comm/js/jquery.js" type="text/javascript"></script>
    <script src="__PUBLIC__/default/comm/js/XVerify.class.js" type="text/javascript"></script>
    <script src="__PUBLIC__/default/comm/js/XDialog.class.js" type="text/javascript"></script>
    <script src="__PUBLIC__/default/comm/js/XTools.class.js" type="text/javascript"></script>
    <script src="__PUBLIC__/default/admin/js/See.page.js" type="text/javascript"></script>
</body>
</html>
